<template>
  <div class="cell-item">
    <div class="cell-header">
      <div class="cell-logo">
        <img :src="require('@/assets/contract-icon.png')" alt="" />
      </div>
      <div class="cell-title-info">
        <div class="cell-seq">
          <div class="cell-name">采购合同</div>
          <div class="cell-type">待派单</div>
        </div>
        <div class="contract-no">YNHST24BJ-00208</div>
      </div>
    </div>
    <div class="cell-line"></div>
    <div class="cell-main">
      <div class="cell-tr">
        <div class="cell-key">供应商</div>
        <div class="cell-divice">—</div>
        <div class="cell-value">江苏恒润波纹管有限公司</div>
      </div>
    </div>
    <div class="cell-line"></div>
    <div class="cell-footer">
      <div class="cell-key">合同总金额</div>
      <div class="cell-value">￥100</div>
    </div>
  </div>
</template>

<script>
export default {
  name: "classify-item",
};
</script>

<style  lang="less" scoped>
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
.cell-item {
  width: 100%;
  min-height: 100px;
  margin: 0 auto;
  box-shadow: 0px 1px 8px 0px rgba(0, 0, 0, 0.08);
  margin-bottom: 12px;
  padding-top: 15px;
  .cell-header {
    display: flex;
    padding: 8px 15px;
    .cell-logo {
      width: 46px;
      height: 46px;
      border-radius: 10px;
      overflow: hidden;
      margin-right: 20px;
      img {
        width: 100%;
      }
    }
    .cell-title-info {
      .cell-seq {
        display: flex;
        justify-content: center;
        margin-bottom: 5px;
        .cell-name {
          font-size: 15px;
          font-weight: 600;
          color: #212121;
          margin-right: 15px;
        }
        .cell-type {
          padding: 3px 15px;
          background: #f1f4fd;
          border-radius: 8px;
          font-size: 13px;
          transform: scale(0.8);
        }
      }
      .contract-no {
        color: #808080;
        font-size: 12px;
        text-align: left;
      }
    }
  }
  .cell-line {
    width: calc(100% - 30px);
    height: 1px;
    background: #f2f2f2;
    margin: 8px auto;
  }
  .cell-main {
    padding: 0 15px;
    color: #808080;
    font-size: 13px;
    .cell-tr {
      display: flex;
      justify-content: left;
      align-self: center;
      line-height: 28px;
      padding: 5px 0px;
      .cell-key,
      .cell-divice {
        margin-right: 10px;
      }
      .cell-divice {
        color: #808080;
        transform: scale(0.7);
      }
    }
  }
  .cell-footer {
    display: flex;
    justify-content: space-between;
    line-height: 28px;
    padding: 0 15px;
    .cell-key {
      color: #808080;
      font-size: 13px;
    }
    .cell-value {
      color: #122261;
      font-size: 13px;
      font-weight: 600;
    }
  }
}
</style>